<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link type="text/css" rel="stylesheet" href="css/style.css" />
		<!--[if IE 6]>
    <script src="js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->
		<script type="text/javascript" src="js/jquery-1.11.1.min_044d0927.js"></script>
		<script type="text/javascript" src="js/jquery.bxslider_e88acd1b.js"></script>
		<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="js/menu.js"></script>

		<script type="text/javascript" src="js/select.js"></script>

		<script type="text/javascript" src="js/lrscroll.js"></script>

		<script type="text/javascript" src="js/iban.js"></script>
		<script type="text/javascript" src="js/fban.js"></script>
		<script type="text/javascript" src="js/f_ban.js"></script>
		<script type="text/javascript" src="js/mban.js"></script>
		<script type="text/javascript" src="js/bban.js"></script>
		<script type="text/javascript" src="js/hban.js"></script>
		<script type="text/javascript" src="js/tban.js"></script>

		<script type="text/javascript" src="js/lrscroll_1.js"></script>


		<title>易买网登录</title>
	</head>
	<body>
		<!--Begin Header Begin-->

		<div class="soubg">
			<div class="sou">
				<span class="fr">
					<span class="fl">你好，请<a href="Login.jsp">登录</a>&nbsp; <a href="Regist.html" style="color:#ff4e00;">免费注册</a>&nbsp;
					</span>
					<span class="fl">|&nbsp;关注我们：</span>
					<span class="s_sh"><a href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span>
					<span class="fr">|&nbsp;<a href="#">手机版&nbsp;<img src="images/s_tel.png" align="absmiddle" /></a></span>
				</span>
			</div>
		</div>
		<!--End Header End-->
		<!--Begin Login Begin-->
		<div class="log_bg">
			<div class="top">
				<div class="logo"><a href="Index.jsp"><img src="images/logo.png" /></a></div>
			</div>
			<div class="login">
				<div class="log_img"><img src="images/l_img.png" width="611" height="425" /></div>
				<div class="log_c">
					<form action="SywUserLoginServlet">
						<table border="0" style="width:370px; font-size:14px; margin-top:30px;" cellspacing="0" cellpadding="0">
							<tr height="50" valign="top">
								<td width="55">&nbsp;</td>
								<td>
									<span class="fl" style="font-size:24px;">登录</span>

									<span class="fr">还没有商城账号，<a href="Regist.html" style="color:#ff4e00;">立即注册</a></span>
								</td>
								
							</tr>
							
							<tr height="70">
								<td>用户名</td>
								<td><input type="text" value="" class="l_user" name="userName"  /></td>
							</tr>
							<tr><td colspan="2" style="text-indent: 3.5em; color: red;" id="loginName"></td></tr>
							<tr height="70">
								<td>密&nbsp; &nbsp; 码</td>
								<td><input type="password" value="" class="l_pwd" name="userPwd" /></td>
							</tr>
							<tr><td colspan="2" style="text-indent: 3.5em; color: red;" id="loginPwd"></td></tr>
							<tr>
								<td>&nbsp;</td>
								<td style="font-size:12px; padding-top:20px;">
									<span style="font-family:'宋体';" class="fl">
									
									</span>
									<span class="fr"><a href="changePassword.html" style="color:#ff4e00;">忘记密码</a></span>
								</td>
							</tr>
							<tr height="60">
								<td>&nbsp;</td>
								<td><input type="submit" value="登录" class="log_btn" id="loginCheck" onclick="doLogin()" /></td>
							</tr>
						</table>
					</form>
				</div>
			</div>
		</div>
		<!--End Login End-->
		<!--Begin Footer Begin-->
		<div class="btmbg">
			<div class="btm">
				备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical
				Support: Dgg Group <br />
				<img src="images/b_1.gif" width="98" height="33" /><img src="images/b_2.gif" width="98" height="33" /><img src="images/b_3.gif"
				 width="98" height="33" /><img src="images/b_4.gif" width="98" height="33" /><img src="images/b_5.gif" width="98"
				 height="33" /><img src="images/b_6.gif" width="98" height="33" />
			</div>
		</div>
		<!--End Footer End -->
		<script type="text/javascript" charset="utf-8">
			$(function(){
				$(".l_user").blur(function() {
					var userName = $(".l_user").val();
					var ret = /^[a-zA-Z0-9_-]{4,16}$/;
					if (!ret.test(userName)) {
						$("#loginName").html("*用户名格式错误！");
						$(".log_btn").css("cursor","not-allowed");
					} else {
						$("#loginName").html("");
						$(".log_btn").css("cursor","pointer");
					}
					if (userName == "" || userName == null) {
						$("#loginName").html("*用户名格式错误！用户名不能为空！");
						$(".log_btn").css("cursor","not-allowed");
					}
				});
				$(".l_pwd").blur(function() {
					var userName = $(".l_pwd").val();
					var ret = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/;
					if (!ret.test(userName)) {
						$("#loginPwd").html("*密码格式错误！");
						$(".log_btn").css("cursor","not-allowed");
					} else {
						$("#loginPwd").html("");
						$(".log_btn").css("cursor","pointer");
					}
				});
			});
			
		</script>

	</body>


	<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
